<div class="box box-solid" id="preview_controller_panel" >
  <div class="box-header with-border">
    <h3 class="box-title">代码</h3>
  </div>
  <div class="box-body ">
    <pre>
      <mycode class="hljs java">${controllerCode!""}</mycode>
    </pre>
  </div>
  <!-- /.box-body -->
</div>
<script>
  require(["jquery","bootbox","hljs","framework"],function($,bootbox,hljs) {
    var container = $("#preview_controller_panel");
    container.find('pre mycode').each(function(i, block) {
      hljs.highlightBlock(block);
    });

  
    
    
  });
</script>